<!--这个是主页中所有商品展示的组件子组件是goodslistitem-->
<template>
  <div class="goodslist">
    <goodslistitem v-for="item in goodslist" :goodsitem='item' >
    
    </goodslistitem>
  
  </div>
</template>

<script>
import goodslistitem from "components/conent/goods/goodslistitem";
export default {
  name: "goodslist",
  data() {
    return {};
  },
  components: {
    goodslistitem
  },
  props: {
    goodslist: {
      type: Array,
      default: []
    }
  }
};
</script>

<style scoped>
 .goodslist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;

    padding: 2px;
  }

</style>